<script setup lang="ts">
import { ref } from 'vue'
import { globalStore } from '../store/index'

defineProps<{ msg: string }>()

const store = globalStore()
const count = ref(0)
</script>

<template>
  <h1>{{ msg }}</h1>
  <el-button type="primary">Primary</el-button>
  <el-button type="success">Success</el-button>
  <el-button type="info">Info</el-button>
  <el-button type="warning">Warning</el-button>
  <el-button type="danger">Danger</el-button>
  <el-button>中文</el-button>
  <h2>store {{store.getName}}</h2>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
